<%@ page import="nusarPruebas.Solicitud" %>



<div class="fieldcontain ${hasErrors(bean: solicitudInstance, field: 'tipo', 'error')} required">
	<label for="tipo">
		<g:message code="solicitud.tipo.label" default="Tipo" />
		<span class="required-indicator">*</span>
	</label>
	<g:select name="tipo" from="${solicitudInstance.constraints.tipo.inList}" required="" value="${solicitudInstance?.tipo}" valueMessagePrefix="solicitud.tipo"/>
</div>

<div class="fieldcontain ${hasErrors(bean: solicitudInstance, field: 'alumnos', 'error')} required">
	<label for="alumnos">
		<g:message code="solicitud.alumnos.label" default="Alumnos" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="alumnos" name="alumnos.id" from="${nusarPruebas.Alumno.list()}" optionKey="id" required="" value="${solicitudInstance?.alumnos?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: solicitudInstance, field: 'coordinadores', 'error')} required">
	<label for="coordinadores">
		<g:message code="solicitud.coordinadores.label" default="Coordinadores" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="coordinadores" name="coordinadores.id" from="${nusarPruebas.Coordinador.list()}" optionKey="id" required="" value="${solicitudInstance?.coordinadores?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: solicitudInstance, field: 'materias', 'error')} required">
	<label for="materias">
		<g:message code="solicitud.materias.label" default="Materias" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="materias" name="materias.id" from="${nusarPruebas.Materia.list()}" optionKey="id" required="" value="${solicitudInstance?.materias?.id}" class="many-to-one"/>
</div>

